<!--suppress ThymeleafVariablesResolveInspection -->
<!-- supperss ALL -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div class="action-item" th:if="${userDynamicRelevanceLists != null}"
     th:each="userDynamicRelevance : ${userDynamicRelevanceLists}">
    <div class="action-item-top">
        <div class="item-span">
            <span class="status-word" th:if="${userDynamicRelevance.type == 20}">提出了问题</span>
            <span class="status-word" th:if="${userDynamicRelevance.type == 30}">回答了问题</span>
            <span class="status-word" th:if="${userDynamicRelevance.type == 10}">发表了文章</span>
            <span class="time" th:text="${#dates.format(userDynamicRelevance.createPublishTime,'yyyy-MM-dd HH:mm:ss')}"></span>
        </div>
        <span th:if="${check==null}" class="delete" onclick="deleteUserDynamic(this,0)" th:attr="id=${userDynamicRelevance.id}">x</span>
    </div>
    <div class="action-item-title">
        <a th:if="${userDynamicRelevance.type==10}" th:href="@{/articleDetail(articleId=${userDynamicRelevance.tid})}" target="_blank" th:text="${userDynamicRelevance.title}"></a>
        <a th:if="${userDynamicRelevance.type!=10}" th:href="@{/askAnswerDetail(id=${userDynamicRelevance.tid})}" target="_blank" th:text="${userDynamicRelevance.title}"></a>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevance.type==10}">
        <span th:text="${userDynamicRelevance.commentNum}+'评论'"></span>
        <span class="dotted"></span>
        <span th:text="${userDynamicRelevance.collectNum}+'收藏'"></span>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevance.type!=10}">
        <span th:text="${userDynamicRelevance.commentNum}+'回答'"></span>
        <span class="dotted"></span>
        <span th:text="${userDynamicRelevance.collectNum}+'收藏'"></span>
    </div>
    <div class="ansower-content">
        <a target="_blank" th:if="${userDynamicRelevance.type==10}" th:utext="'[文章内容] '+${userDynamicRelevance.introduce}"></a>
        <a target="_blank" th:if="${userDynamicRelevance.type==20}" th:utext="'[问题背景] '+${userDynamicRelevance.introduce}"></a>
        <a target="_blank" th:if="${userDynamicRelevance.type==30}" th:utext="'[回答内容] '+${userDynamicRelevance.introduce}"></a>
    </div>

    <div class="ansower-share-setting">
        <div class="ansower-share">
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevance.tid})}" th:if="${userDynamicRelevance.type==20}" class="ansower-color" target="_blank"><img src="/yb_system_picture/Write.png" alt="有贝口腔网"><span>回答</span></a>
            <a href="javascript:;" target="_self" th:if="${userDynamicRelevance.type==30}"><span th:text="${userDynamicRelevance.raiseNum}+'点赞'"></span></a>
            <a href="javascript:;" target="_self" th:if="${userDynamicRelevance.type==30}"><span th:text="${userDynamicRelevance.readNum}+'评论'"></span></a>
            <a href="javascript:;" target="_self" th:if="${userDynamicRelevance.type!=30}"><span th:text="${userDynamicRelevance.readNum}+'阅读'"></span></a>
        </div>
    </div>
</div>
<div class="action-item" th:if="${userDynamicRelevanceQuestionList != null}" th:each="userDynamicRelevanceQuestion : ${userDynamicRelevanceQuestionList}" th:attr="id=${userDynamicRelevanceQuestion.id}">
    <div class="action-item-title">
        <a href="#" th:if="${userDynamicRelevanceQuestion.uncheckType == 0}" th:text="${userDynamicRelevanceQuestion.question}"></a>
        <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceQuestion.tid})}" th:if="${userDynamicRelevanceQuestion.uncheckType == 1}" th:text="${userDynamicRelevanceQuestion.question}"></a>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceQuestion.uncheckType == 0}">
        <span style="color:red">审核中</span><span class="dotted"></span><span th:text="${#dates.format(userDynamicRelevanceQuestion.createPublishTime,'yyyy-MM-dd HH:mm:ss')}"></span>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceQuestion.uncheckType != 0}">
        <span th:text="${userDynamicRelevanceQuestion.answerNum}+'回答'">0回答</span>
        <span class="dotted"></span><span th:text="${userDynamicRelevanceQuestion.collectNum}+'收藏'">0收藏</span>
    </div>
    <div class="ansower-content" th:if="${userDynamicRelevanceQuestion.content!=null}" th:utext="'[问题背景] '+${userDynamicRelevanceQuestion.content}"></a>>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceQuestion.uncheckType == 0}">
        <div class="ansower-share">
            <a href="javascript:;" onclick="deleteUserDynamic(this,1)" th:attr="id=${userDynamicRelevanceQuestion.id}">删除</a>
        </div>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceQuestion.uncheckType != 0}">
        <div class="ansower-share">
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceQuestion.tid})}" class="ansower-color" target="_blank">
                <span>回答</span></a>
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceQuestion.tid})}" target="_blank"><span th:text="${userDynamicRelevanceQuestion.readNum}+'阅读'">0阅读</span></a>
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceQuestion.tid})}" target="_blank"><span th:text="${#dates.format(userDynamicRelevanceQuestion.createPublishTime,'yyyy-MM-dd HH:mm:ss')}"></span></a>
        </div>
    </div>
</div>
<div class="action-item"  th:if="${userDynamicRelevanceAnswerList != null}" th:each="userDynamicRelevanceAnswer: ${userDynamicRelevanceAnswerList}">
    <div class="action-item-title">
        <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceAnswer.tid})}" target="_blank" th:text="${userDynamicRelevanceAnswer.question}"></a>
    </div>
    <div class="ansower-collect">
        <span th:text="${userDynamicRelevanceAnswer.answerNum}+'回答'">0回答</span>
        <span class="dotted"></span>
        <span th:text="${userDynamicRelevanceAnswer.collectNum}+'收藏'">0收藏</span>
    </div>
    <div class="ansower-content">
        <a target="javascript:;" th:if="${userDynamicRelevanceAnswer.content!=null}" th:attr="id=${userDynamicRelevanceAnswer.tid}"
           th:utext="'[回答内容] '+${userDynamicRelevanceAnswer.introduce}"></a>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceAnswer.uncheckType==0}">
        <span style="color:red">审核中</span><span class="dotted"></span>
        <span th:text="${#dates.format(userDynamicRelevanceAnswer.createPublishTime,'yyyy-MM-dd HH:mm:ss')}"></span>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceAnswer.uncheckType != 0}">
        <div class="ansower-share">
            <a href="javascript:;"><span th:text="${userDynamicRelevanceAnswer.raiseNum}+'点赞'">0点赞</span></a>
            <a href="javascript:;"><span th:text="${userDynamicRelevanceAnswer.commentNum}+'评论'">0评论</span></a>
        </div>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceAnswer.uncheckType == 0}">
        <div class="ansower-share">
            <a href="javascript:;" onclick="deleteUserDynamic(this,2)" th:attr="id=${userDynamicRelevanceAnswer.id}">删除</a>
        </div>
    </div>
</div>
<div class="action-item"  th:if="${userDynamicRelevanceZxList != null}" th:each="userDynamicRelevanceZx: ${userDynamicRelevanceZxList}">
    <div class="action-item-title">
        <a th:href="@{/articleDetail(id=${userDynamicRelevanceZx.tid})}" target="_blank" th:text="${userDynamicRelevanceZx.title}"></a>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceZx.uncheckType==1}">
        <span th:text="${userDynamicRelevanceZx.commentNum}+'评论'">0评论</span>
        <span class="dotted"></span>
        <span th:text="${userDynamicRelevanceZx.collectNum}+'收藏'">0收藏</span>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceZx.uncheckType==0}">
        <span style="color:red">审核中</span><span class="dotted"></span>
        <span th:text="${#dates.format(userDynamicRelevanceZx.createPublishTime,'yyyy-MM-dd HH:mm:ss')}"></span>
    </div>
    <div class="ansower-content">
        <a target="_blank" th:utext="'[文章内容] '+${userDynamicRelevanceZx.introduce}"></a>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceZx.uncheckType != 0}">
        <div class="ansower-share">
            <a href="javascript:;"><span th:text="${userDynamicRelevanceZx.readNum}+'阅读'">0阅读</span></a>
        </div>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceZx.uncheckType == 0}">
        <div class="ansower-share">
            <a href="javascript:;" onclick="deleteUserDynamic(this,3)" th:attr="id=${userDynamicRelevanceZx.id}">删除</a>
        </div>
    </div>
</div>
<div class="action-item"  th:if="${userDynamicRelevanceCollectList != null}" th:each="userDynamicRelevanceCollect : ${userDynamicRelevanceCollectList}" th:attr="id=${userDynamicRelevanceCollect.id}">
    <div class="action-item-top">
        <div class="item-span">
            <span class="status-word" th:text="${userDynamicRelevanceCollect.type==10 ? '收藏了资讯' : '收藏了问题'}"></span>
            <span class="time" th:text="${#dates.format(userDynamicRelevanceCollect.createTime,'yyyy-MM-dd HH:mm:ss')}"></span>
        </div>
        <span class="delete" onclick="delCollect(this)" th:attr="id=${userDynamicRelevanceCollect.id}">x</span>
    </div>
    <div class="action-item-title">
        <a th:if="${userDynamicRelevanceCollect.type==10}" th:href="@{/articleDetail(articleId=${userDynamicRelevanceCollect.tId})}" target="_blank" th:text="${userDynamicRelevanceCollect.title}"></a>
        <a th:if="${userDynamicRelevanceCollect.type==20}" th:href="@{/askAnswerDetail(id=${userDynamicRelevanceCollect.tId})}" target="_blank" th:text="${userDynamicRelevanceCollect.title}"></a>
    </div>
    <div class="ansower-collect" th:if="${userDynamicRelevanceCollect.type==20}">
        <span th:text="${userDynamicRelevanceCollect.commentAnswerNum}+'回答'">0回答</span>
        <span class="dotted"></span>
        <span th:text="${userDynamicRelevanceCollect.collectNum}+'收藏'">0收藏</span>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceCollect.type==20}">
        <div class="ansower-share">
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceCollect.tId})}" class="ansower-color" target="_blank"><img src="/yb_system_picture/Write.png" alt="有贝口腔网"><span>回答</span></a>
            <a th:href="@{/askAnswerDetail(id=${userDynamicRelevanceCollect.tId})}" target="_blank"><span th:text="${userDynamicRelevanceCollect.readNum}+'阅读'" >0阅读</span></a>
        </div>
    </div>
    <div class="ansower-share-setting" th:if="${userDynamicRelevanceCollect.type==10}">
        <div class="ansower-share">
            <a th:href="@{/articleDetail(articleId=${userDynamicRelevanceCollect.tId})}" target="_blank"><span th:text="${userDynamicRelevanceCollect.readNum}+'阅读'">0阅读</span></a>
            <a th:href="@{/articleDetail(articleId=${userDynamicRelevanceCollect.tId})}" target="_blank"><span th:text="${userDynamicRelevanceCollect.commentAnswerNum}+'评论'">0评论</span></a>
            <a th:href="@{/articleDetail(articleId=${userDynamicRelevanceCollect.tId})}" target="_blank"><span th:text="${userDynamicRelevanceCollect.collectNum}+'阅读'">0收藏</span></a>
        </div>
    </div>
</div>
<p hidden th:if="${userDynamicRelevanceLists != null && userDynamicRelevanceLists.size() == 0}">没有匹配的个人动态数据</p>
<p hidden th:if="${userDynamicRelevanceQuestionList != null && userDynamicRelevanceQuestionList.size() == 0}">没有匹配的个人问题动态数据</p>
<p hidden th:if="${userDynamicRelevanceAnswerList != null && userDynamicRelevanceAnswerList.size() == 0}">没有匹配的个人回答动态数据</p>
<p hidden th:if="${userDynamicRelevanceZxList != null && userDynamicRelevanceZxList.size() == 0}">没有匹配的个人资讯动态数据</p>
<p hidden th:if="${userDynamicRelevanceCollectList != null && userDynamicRelevanceCollectList.size() == 0}">没有匹配的个人收藏数据</p>